package com.qf.smsplatform.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * projectName: smsplatform
 *
 * @author: MaTianWei
 * time: 2021/8/9 19:57
 * description:配置服务中心
 */
//注册到注册中心,可以不是Eureka Nacos Zookeeper Redis Console
//注册到Eureka注册中心
@SpringBootApplication
@EnableEurekaClient
@EnableConfigServer
public class ConfigServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class,args);
    }
}
